package com.linran.gmail;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import com.linran.gmail.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDubbo(scanBasePackages = "com.linran.gmail.service.impl")
@ComponentScan(value = {"com.linran.gmail.service"})
public class OrderServiceComsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderServiceComsumerApplication.class, args);
    }

}
